package com.hyy.api.domain.customer.vo;

import com.hyy.api.domain.customer.CstmCustomerProviderChannel;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.hyy.common.excel.annotation.ExcelDictFormat;
import com.hyy.common.excel.convert.ExcelDictConvert;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;



/**
 * 客户供应商通道绑定视图对象 cstm_customer_provider_channel
 *
 * @author ruoyi
 * @date 2025-05-21
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = CstmCustomerProviderChannel.class)
public class CstmCustomerProviderChannelVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @ExcelProperty(value = "id")
    private Long id;

    /**
     * 供应商通道id
     */
    @ExcelProperty(value = "供应商通道id")
    private Long providerChannelId;

    /**
     * 客户id
     */
    @ExcelProperty(value = "客户id")
    private Long customerId;

    /**
     * 权重
     */
    @ExcelProperty(value = "权重")
    private Integer weight;

    /**
     * 状态
     */
    @ExcelProperty(value = "状态", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "sys_enable_disable_status")
    private Integer status;


}
